{# Copyright The IETF Trust 2015, All Rights Reserved #}{% load origin %}{% origin %}
{% comment %}
Parts copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Contact: Pasi Eronen <pasi.eronen@nokia.com> 

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions 
are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

* Neither the name of the Nokia Corporation and/or its
subsidiary(-ies) nor the names of its contributors may be used
to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{% endcomment %}
{% comment %}
Parts Copyright (c) 2009 The IETF Trust, all rights reserved.
{% endcomment %}
{% load ietf_filters %}

<p>
    <b>{{doc.name}}-{{doc.rev}}</b><br>
    <i>({{ doc.title }})</i><br>
    <b>
        Intended status: {{ doc.intended_std_level }}<br>
        Consensus: <a href="{% url 'ietf.doc.views_draft.edit_consensus' name=doc.name %}">{{ doc|consensus }}</a><br>
        Has downref: {% if downrefs %}Yes{% else %}No{% endif %}<br>
        Token: {{ doc.ad.plain_name }}<br>
        {% if doc.type_id == "draft" %}
            Last call ends: {{ doc.most_recent_ietflc.expires.date|default:"(none)" }}
            {% if doc.most_recent_ietflc.expires.date|timesince_days < 3 %}!!!{% endif %}
        {% endif %}
    </b>
</p>

{% with doc.active_ballot as ballot %}
    {% if ballot %}
        <small><pre>
                              Yes  No-Objection  Discuss  Abstain  Recuse
      {% for pos in ballot.all_positions %}{% if pos.old_ad %}{{pos.balloter.plain_name|bracket|ljust:"22"}}{%else%}{{pos.balloter.plain_name|ljust:"22"}}{%endif%} {{pos|bracketpos:"yes"}}    {{pos|bracketpos:"noobj"}}       {{pos|bracketpos:"discuss"}}    {{pos|bracketpos:"abstain"}}    {{pos|bracketpos:"recuse"}}
      {% endfor %}
        </pre></small>

        {% if num|startswith:"2." %}
            <p>____ open positions<br>
                [ &nbsp; ] would you like to record a position?</p>
        {% endif %}

        <p>____ active discusses<br>
            [ &nbsp; ] there are [#] discusses in the tracker on this document.  Do we need to talk about them now?</p>

    {% else %}
        <p>(Ballot not issued)</p>
    {% endif %}
{% endwith %}

{% if num|startswith:"3.1" or num|startswith:"3.2" %}
    <p>Does anyone have an[y further] objection to this document being published as an {{ doc.intended_std_level }} RFC?</p>
{% endif %}
{% if num|startswith:"3.3.1" or num|startswith:"3.3.2" %}
    <p>Does anyone have an objection to this conflict review response being sent to the {{ doc.conflictdoc.stream }}?</p>
{% endif %}
{% if num|startswith:"3.3.3" %}
    <p>Who will do the review of this document?</p>
{% endif %}

<p>Current State: {{ doc.friendly_state }}<br>
    Next State:<br>
    Sub State: </p>

{% if num|startswith:"2.1.1" or num|startswith:"2.1.2" %}
    <p>If APPROVED - The Secretariat will send a working group
        submission, Protocol Action Announcement.</p>

    <p>If APPROVED with caveats - The Secretariat will send a working
        group submission, Protocol Action Announcement that includes the
        [RFC Editor Note, etc.] to be drafted by [Name that
        AD].</p>
{% endif %}

{% if num|startswith:"2.2.1" or num|startswith:"2.2.2" %}
    <p>If APPROVED - The Secretariat will send an individual submission,
        Protocol Action Announcement.</p>

    <p>If APPROVED with caveats - The Secretariat will send an
        individual submission, Protocol Action Announcement that includes
        the [RFC Editor Note, etc.] to be drafted by [Name that
        AD].</p>
{% endif %}

{% if num|startswith:"2.3.1" or num|startswith:"2.3.2" %}
    <p>If APPROVED - The Secretariat will send the associated status change
        Protocol Action Announcements.</p>

    <p>If APPROVED with caveats - The Secretariat will send the
        associated status change Protocol Action Announcements that includes the
        [RFC Editor Note, etc.] to be drafted by [Name that
        AD].</p>
{% endif %}

{% if num|startswith:"3.1.1" or num|startswith:"3.1.2" %}
    <p>If APPROVED - The Secretariat will send a working group submission
        Document Action Announcement.</p>

    <p>If APPROVED with caveats - The Secretariat will send a working
        group submission Document Action announcement that includes the [RFC
        Ed. Note, etc.] from [Name that AD].</p>
{% endif %}

{% if num|startswith:"3.2.1" or num|startswith:"3.2.2" %}
    <p>If APPROVED - The Secretariat will send an individual submission
        Document Action Announcement.</p>

    <p>If APPROVED with caveats - The Secretariat will send an
        individual submission Document Action announcement that includes the
        [RFC Ed. Note, etc.] from [Name that AD].</p>
{% endif %}

{% if num|startswith:"3.3.1" or num|startswith:"3.3.2" %}
    <p>If APPROVED - The Secretariat will send the associated status change
        Document Action Announcements.</p>

    <p>If APPROVED with caveats - The Secretariat will send the associated
        status change Document Action announcements that includes the [RFC
        Ed. Note, etc.] from [Name that AD].</p>
{% endif %}

{% if num|startswith:"3.4.1" or num|startswith:"3.4.2" %}
    <p>If APPROVED - The Secretariat will send a standard no problem
        message to the RFC Editor.</p>

    <p>If APPROVED with caveats - The Secretariat will send a standard
        no problem message to the RFC Editor that includes the note drafted
        by [Name that AD].</p>

    <p>If NOT APPROVED - The Secretariat will send the standard Do Not
        Publish message to the RFC Editor.</p>

    <p>If NOT APPROVED with clarifications - The Secretariat will send
        the Do Not Publish message to the RFC Editor that includes the note
        drafted by[Name the AD].</p>
{% endif %}

{% if num|startswith:"2.1" or num|startswith:"2.2" %}
    {% if downrefs %}
        <p>If APPROVED - The Secretariat will add to the downref registry:<br>
            {% for ref in downrefs %}
                + Add {{ref.target.name}}
                ({{ref.target.std_level}} - {{ref.target.stream.desc}})
                to downref registry.<br>
                {% if not ref.target.std_level %}
                    +++ Warning: The standards level has not been set yet!!!<br>
                {% endif %}
                {% if not ref.target.stream %}
                    +++ Warning: document stream has not been set yet!!!<br>
                {% endif %}
            {% endfor %}</p>
    {% endif %}
{% endif %}